package com.lvwenguo.model;

import java.io.Serializable;
import java.sql.Date;


//商品进货记录
public class CategoryPurchaseList implements Serializable {

    private int id;//进货批号
    private String supplier_name;//供应商名称
    private String bar_code;//商品条码
    private String  category_name;//品类名称
    private String product_name;//商品名称
    private double purchase_price;//进货单价
    private Integer count;//进货数量
    private double amount;//进货金额
    private String exp_date;//保质日期

    public int getId() {
        return id;
    }

    public void setId(int id) {
        this.id = id;
    }

    public String getSupplier_name() {
        return supplier_name;
    }

    public void setSupplier_name(String supplier_name) {
        this.supplier_name = supplier_name;
    }

    public String getBar_code() {
        return bar_code;
    }

    public void setBar_code(String bar_code) {
        this.bar_code = bar_code;
    }

    public String getCategory_name() {
        return category_name;
    }

    public void setCategory_name(String category_name) {
        this.category_name = category_name;
    }

    public String getProduct_name() {
        return product_name;
    }

    public void setProduct_name(String product_name) {
        this.product_name = product_name;
    }

    public double getPurchase_price() {
        return purchase_price;
    }

    public void setPurchase_price(double purchase_price) {
        this.purchase_price = purchase_price;
    }

    public Integer getCount() {
        return count;
    }

    public void setCount(Integer count) {
        this.count = count;
    }

    public double getAmount() {
        return amount;
    }

    public void setAmount(double amount) {
        this.amount = amount;
    }

    public String getExp_date() {
        return exp_date;
    }

    public void setExp_date(String exp_date) {
        this.exp_date = exp_date;
    }

    @Override
    public String toString() {
        return "CategoryPurchaseList{" +
                "id=" + id +
                ", supplier_name='" + supplier_name + '\'' +
                ", bar_code='" + bar_code + '\'' +
                ", category_name='" + category_name + '\'' +
                ", product_name='" + product_name + '\'' +
                ", purchase_price=" + purchase_price +
                ", count=" + count +
                ", amount=" + amount +
                ", exp_date='" + exp_date + '\'' +
                '}';
    }
}
